using System;

namespace PhoneApp
{

    public class Phone
    {
        
        public string Brand { get; set; }
        
        public int Weight { get; set; }
        public int Camera { get; set; }
        public int Price { get; set; }
        public void PrintInfo()
        {
            Console.WriteLine("手机信息如下：");
            Console.WriteLine($"品牌：{Brand}");
            Console.WriteLine($"重量：{Weight}g");
            Console.WriteLine($"后置摄像头像素：{Camera}");
            Console.WriteLine($"价格：{Price}元");
        }
    }
    namespace PhoneApp
    {
        class Program
        {
            /*static void Main(string[] args)
            {
                Phone phone = new Phone();
                phone.Brand = "苹果6SPlus";
                phone.Weight = 192;       
                phone.Camera = 120000000; 
                phone.Price = 6288;       
                phone.PrintInfo();
            
                Console.ReadLine();
            }*/
        }
    }

}